# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Anders Bergh <anders1@gmail.com>
# Contributor: Mildred <silkensedai@online.fr>
# Contributor: Daniel J Griffiths <griffithsdj@archlinux.us>

pkgname=premake3
pkgver=3.7
pkgrel=5
pkgdesc="A simple build configuration and project generation tool using lua"
arch=('loong64' 'x86_64')
url="http://premake.sourceforge.net"
license=('GPL')
makedepends=()
source=("https://downloads.sourceforge.net/sourceforge/premake/premake-src-${pkgver}.zip")
sha512sums=('351b26b9ee738e97b1828e7c26fe1538fb1509fbdc030da3d87fc28b1daa7966bc50ba8043062d35b37fa3929d909533b723241e1f98e438a039c6f9d61a46f4')

build() {
	cd ${srcdir}/Premake-${pkgver}

	make
}

package() {
	cd ${srcdir}/Premake-${pkgver}

	install -Dm755 bin/premake ${pkgdir}/usr/bin/premake
}
